package LS;
import java.util.List;

public interface HMapper {
    List<vwaprovelist> selectaprovelist();
    List<vwaprovelist> selectrealaprovelist(String user_id);
    List<vwaprovelist> selectrealaprovelist2();
    List<Lending> selectLendingById(int lending_id);
    List<vwaprovelist> selectAproveById(int lending_id);
    List<vwaprovelist> selectTAproveById(int lending_id);
	String selectReturn(String equipments_id);
    
    
    List<Equipments> selectEquipmentsByModelname(String model_name);
    List<vwaprovelist> selectTaprovelist(int same, int departments_id);
    
    void insertAproveM(Aprove aprove);
    void insertRefuseM(Aprove aprove);
    void insertAproveP(Aprove aprove);
    void insertRefuseP(Aprove aprove);
    void updateSuccess(int lending_id, String equipment_id);
}
